package com.pdsu.xpf.graduation01.utils;

import org.apache.shiro.crypto.hash.Md5Hash;
import org.springframework.stereotype.Component;

@Component
public class ShiroUtil {

    public  static String md5(String username,String password){
        Md5Hash md5Hash=new Md5Hash(username,password,1024);
        return md5Hash.toHex();

    }

}
